# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=duplicity
pkgver=0.8.13
pkgrel=0
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="http://duplicity.nongnu.org/"
arch="all"
license="GPL-2.0-or-later"
depends="python3 py3-boto gnupg ncftp py3-fasteners py3-future"
makedepends="python3-dev py3-future py3-setuptools librsync-dev gettext py3-setuptools_scm"
subpackages="$pkgname-doc $pkgname-lang"
source="https://launchpad.net/duplicity/0.8-series/$pkgver/+download/duplicity-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 compilec.py
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="71e07fa17dcf2002a0275bdf236c1b2c30143e276abfdee15e45a75f0adeefc9e784c76a578f90f6ed785f093f364b877551374204e70b930dd5d0920f7e1e75  duplicity-0.8.13.tar.gz"
